/*
 * @Author: wuyue
 * @Date: 2023-02-20 21:05:50
 * @LastEditTime: 2023-03-07 17:07:55
 * @LastEditors: wuyue
 * @Descripttion: 计量设备发放api
 * @version: 
 */
import request from '@/utils/request'
import { faceProducerApiUrl } from '@/api/config'
export function getList(data) {
    return request({
        url: `${faceProducerApiUrl}/mdProjectGrantRecord/getPageMdProjectGrantRecord`,
        method: 'post',
        data
    })
}

// 详情
 export function detailsItem(params) {
    return request({
        url: `${faceProducerApiUrl}/mdProjectGrantRecord/getMdProjectGrantRecordById`,
        method: 'get',
        params
    })
}

// 导出
export function exportFile(data) {
    return request({
        url: `${faceProducerApiUrl}/mdProjectGrantRecord/export`,
        method: 'post',
        data,
        responseType: 'blob'
    })
}